Khan / khan-exercises

A (deprecated) framework for building exercises to work with Khan Academy.
http://www.khanacademy.org/
1.62k stars 863 forks source link

simplifying_rational_expressions_3 #68866

Open hunterws opened 11 years ago

hunterws commented 11 years ago

The problems asks to simplify y = (n^2+5n)/(n^2+11n+30) This simplifies to n/(n+6) and the question also requires the user to specify restrictions on the equation. The exercise's solution identifies the restriction as n not equal to -5 because we cancel a factor of n+5.

However, if n=-6 we should have a division by zero problem as well. So n should not be equal to -5 OR -6.

Thoughts?

mauk81 commented 11 years ago

If you cancel n+5, you have to specify for n =/= -5, because it isn't visible anymore. You don't have to specify for n =/= -6 for n/(n+6), because it is still visible.