r/satprep • • 4h ago

How to solve this using demos?

Post image

Can anyone show how can I solve this using desmos?
I used regression but it is only giving me 9.

I even tried doing algebra by hand but its taking way to long.

2 Upvotes

3 comments sorted by

1

u/EmploymentNegative59 3h ago

Type the whole thing into DESMOS.

Type x = -3 in another line.

Type x = 3 in another line.

Move the slider for k until you see where it intersects the two vertical lines you graphed.

It will say k = 3 and k = 9.

1

u/wobbly_catfish 1h ago

Slider method works, but you can also set the equation to zero and sub in x=3 and -3 to solve for k directly.

1

u/maybeitssteve 2h ago

This has already been answered, but you can also type the equation into desmos but use 'y' instead of 'k'. It'll make a straight line that is undefined at x=3 and x=-3, but you'll see clearly from the graph that the y coordinates at those points would have been 9 and 3.

https://www.desmos.com/calculator/8bhnyn1com

Also, the way they did the algebra in that explanation is insane imo. Once you multiply both side by (x+3)(x-3) to get x(x+3) - k(x-3) = 18 you can just treat it like a linear equation and solve for k.

x(x+3) - k(x-3) = 18

x(x+3) = k(x-3) + 18

x(x+3) - 18 = k(x-3)

x^2 + 3x - 18 = k(x-3)

(x+6)(x-3) = k(x-3)

x+6 = k

Now just plug in x = 3 and x = -3 to get the two values for k.

or you can distribute first

x(x+3) - k(x-3) = 18

x^2 + 3x - kx + 3k = 18

x^2 + 3x = 18 + kx - 3k

x^2 + 3x - 18 = kx - 3k

x^2 + 3x -18 = k(x-3) - same steps from there