I am studying inverse kinematics. But I wonder the suggested equations. (The following equations are taken from 'Computer Animation Algorithms and Techniques Third Edition Page, 181')
To better control the kinematic model such as encouraging joint angle constraints, a control expression can be added to the pesudoinverse Jacobian solution.
($J$ is Jacobian, $J^+ = J^T(JJ^T)^{-1} = (J^TJ)^{-1}J^T$, and I will explain $z$ later)
The form for the control expression is the below eqution 5.25
$ \theta = (J^+J - I)z\cdot\cdot\cdot\cdot(5.25) $
But, the $\theta$ is always zero vector because $J^+J = I$, so $\theta = \mathbf 0z$.
The book said that a change to pose parameters in the form of Equation 5.25 does not add anything to the velocities, so the control expression can be added to the pseudoinverse Jacobian solution without chaining the given velocities to be satisfied.
$ V = J\theta \\ V = J(J^+J - I)z \\ V = \mathbf0z \\ V = \mathbf0 \cdot\cdot\cdot\cdot(5.26)$
And the book defined $z$ (Equation (5.27)) to bias the solution toward specific joint angles.
$z = \alpha_i(\theta_i - \theta_{ci})^2\cdot\cdot\cdot\cdot(5.27)$ where $\theta_i$ is the current joint angles, $\theta_{ci}$ are the desired joint angles, and $\alpha_i$ is joint gains.
Finally, The form of the conventional pseudoinverse of the Jocobian added by the contorol expression is Equation 5.28.
$\theta = J^+V + (J^+J - I)z \cdot\cdot\cdot\cdot(5.28)\\ \theta = J^+(V + Jz) -z \\ \theta = J^T[(JJ^T)^{-1}(V+Jz)] -z $
However, I could not understand why the book derived the above equation. Because the equation 5.25 is zero vector, the equation 5.28 of red part($\theta = J^+V + \color{red}{(J^+J - I)z}$) is zero vector and $z$ doesn't have any effect on the result. We just have $\theta = J^+V$, no difference from the real original conventional pseudoinverse.
What is wrong with me?