ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 18 May 2013 16:35:42 +0200Very basic simplification questionhttps://ask.sagemath.org/question/10135/very-basic-simplification-question/I know what the answer is, however I'm trying to work through the process of this basic question. The equation is below:
(3 + x)/x^2
To simplify can't you simplify it to by simplifying the exponents:
3/x
However if you were to plug a constant into the original variable such as 2, you would get a different result than if you simplified it.
1. x = 2 | (3 + x)/x^2 = 5/4
2. x = 2 | 3/2
It's been a while since I went through algebra, so I'm sure there's an easy answer, I'm just wanting to know where I'm not thinking it through properly.
Thanks!Sat, 18 May 2013 14:27:05 +0200https://ask.sagemath.org/question/10135/very-basic-simplification-question/Answer by god.one for <p>I know what the answer is, however I'm trying to work through the process of this basic question. The equation is below:</p>
<p>(3 + x)/x^2</p>
<p>To simplify can't you simplify it to by simplifying the exponents:</p>
<p>3/x</p>
<p>However if you were to plug a constant into the original variable such as 2, you would get a different result than if you simplified it.</p>
<ol>
<li>x = 2 | (3 + x)/x^2 = 5/4</li>
<li>x = 2 | 3/2</li>
</ol>
<p>It's been a while since I went through algebra, so I'm sure there's an easy answer, I'm just wanting to know where I'm not thinking it through properly.</p>
<p>Thanks!</p>
https://ask.sagemath.org/question/10135/very-basic-simplification-question/?answer=14946#post-id-14946You have to use the distributive property. Using Sage
var('x')
expand((3 + x)/x^2)
the output you get is
1/x + 3/x^2
and using substitute
expand((3 + x)/x^2).substitute(x=2)
you will get
5/4
which is the correct answer. What you probably meant is
3 * x/x^2 == 3/xSat, 18 May 2013 16:35:42 +0200https://ask.sagemath.org/question/10135/very-basic-simplification-question/?answer=14946#post-id-14946