Parallel and perpendicular vectors

If a mass takes a path down a slope of a parabola. The force downward is its weight. I need to resolve the perpendicular and parallel (to direction of motion) forces.

y=ax^2+bx+c, it has a y intercept of h and a repeated root l. a>0. The mass slides from x=0 to x=l with no friction.

$d\vec{r} = \left( \begin{array}{c} 1 \\ 2ax+b \end{array} \right)\text{dx}$

A unit vector in this direction:

$\hat{u} = \frac{1}{\sqrt{1+(2ax+b)^2}}\left( \begin{array}{c} 1 \\ 2ax+b \end{array} \right)$

To get the size of the component of the force parallel to the curve:

$mg \cos (\theta) = mg\frac{(2ax+b)}{\sqrt{1+(2ax+b)^2}}$

$mg \cos (\theta) \hat{u} = mg\frac{(2ax+b)}{\sqrt{1+(2ax+b)^2}} \frac{1}{\sqrt{1+(2ax+b)^2}}\left( \begin{array}{c} 1 \\ 2ax+b \end{array} \right) = mg \frac{(2ax+b)}{1+(2ax+b)^2}\left( \begin{array}{c} 1 \\ 2ax+b \end{array} \right)$

I don't think this is right
 PhysOrg.com science news on PhysOrg.com >> King Richard III found in 'untidy lozenge-shaped grave'>> Google Drive sports new view and scan enhancements>> Researcher admits mistakes in stem cell study
 This can't be right because then $\int \vec{F}\cdot d\vec{r} = Mg(al^2 + bl) \ne Mgh$
 Could someone have a look at this

Mentor
Blog Entries: 10

Parallel and perpendicular vectors

 Quote by Gregg If a mass takes a path down a slope of a parabola. The force downward is its weight. I need to resolve the perpendicular and parallel (to direction of motion) forces. y=ax^2+bx+c, it has a y intercept of h and a repeated root l. a>0. The mass slides from x=0 to x=l with no friction. $d\vec{r} = \left( \begin{array}{c} 1 \\ 2ax+b \end{array} \right)\text{dx}$ A unit vector in this direction: $\hat{u} = \frac{1}{\sqrt{1+(2ax+b)^2}}\left( \begin{array}{c} 1 \\ 2ax+b \end{array} \right)$ To get the size of the component of the force parallel to the curve: $mg \cos (\theta) = mg\frac{(2ax+b)}{\sqrt{1+(2ax+b)^2}}$
There is a subtle mistake at play here. You want the magnitude of the parallel force component, i.e., its absolute value. So there should be a big absolute value sign on the r.h.s. in that last equation.

The absolute value is not an issue for m, g, and the square-root expression since those are all positive. But what about the 2ax+b term, is that negative or positive?

Hints:
1. We are only considering 0<x<l.
2. Express a and b each in terms of h and l, if you have not already done so.
 $mg \cos (\theta) \hat{u} = mg\frac{(2ax+b)}{\sqrt{1+(2ax+b)^2}} \frac{1}{\sqrt{1+(2ax+b)^2}}\left( \begin{array}{c} 1 \\ 2ax+b \end{array} \right) = mg \frac{(2ax+b)}{1+(2ax+b)^2}\left( \begin{array}{c} 1 \\ 2ax+b \end{array} \right)$ I don't think this is right
test