The solution here:
Find the equation of the parabola joined smoothly to the straight line y=2x at the point P(2,4) as shown below. The parabola passes through the point(5,1).
Firstly, you are given two points, (2, 4) and (5, 1), and you are given the gradient at the point (2, 4) which is 2.
Let's say that your equation has the form:
y = ax^2 + bx + c.
Plug in the coordinates to have a pair of equations:
Now the gradient on the curve is given by the derivative of the curve.
Bud in the value of x and the value of y':
Now, eliminate 'c' from the first two equations (II - I)to get:
Now, use simultaneous solving to get the values of a and b from equations III and IV.
you should get a = -1, b = 6 and c = -4
If you want help, it is in your own interests to show your work so that people can more easily help you. eg. You might have made a mistake in your very first line of working, this could then be easily pointed out and people wouldn't have to waste time doing their own calculations from scratch.