What is the use of FullForm in Mathematica?Where can I get detailed information on how the Plot command works?What are the use cases for different scoping constructs?NestList on a function of several argumentsUsing DistributionFitTest on custom distributions in Mathematica 8How to use NestWhileList with a function of two variablesRecursive Formal Differentiation with Substitution

I see your BIDMAS and raise you a BADMIS

Can I use ratchet straps to lift a dolly into a truck bed?

Is there a star over my head?

Why didn't Thor use the All powerful spear instead of Stormbreaker?

I changed a word from a source, how do I cite it correctly?

What's the biggest difference between these two photos?

Can board a plane to Cameroon without a Cameroonian visa?

Are programming languages necessary/useful for operations research practitioner?

How do I always enable compiler warnings?

Are Democrats more likely to believe Astrology is a science?

Dividing Divisive Divisors

2.5 year old daughter refuses to take medicine

For how long could UK opposition parties prevent new elections?

Where does the expression "triple-A" comes from?

What is negative current?

Why is the the worst case for this function O(n^2)?

Expected value until a success?

What are the advantages and disadvantages of Preprints.org compared with arXiv?

What was the first LISP compiler?

Why is differential privacy defined over the exponential function?

What is going on: C++ std::move on std::shared_ptr increases use_count?

How can I protect myself in case of a human attack like the murders of the hikers Jespersen and Ueland in Morocco?

Are there any instances of members of different Hogwarts houses coupling up and marrying each other?

Why does F + F' = 1?



What is the use of FullForm in Mathematica?


Where can I get detailed information on how the Plot command works?What are the use cases for different scoping constructs?NestList on a function of several argumentsUsing DistributionFitTest on custom distributions in Mathematica 8How to use NestWhileList with a function of two variablesRecursive Formal Differentiation with Substitution






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








6












$begingroup$


I would like to know where this "FullForm" in Mathematica will be useful. Kindly provide some examples. I just started learning Mathematica. If my question is wrong or not correct. I'm sorry about that.










share|improve this question







New contributor



Gummala Navneeth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$









  • 3




    $begingroup$
    Whenever a student asks me a question about Mathematica where I don't know the answer, I apply FullForm. Either this helps show what happened, or else it gives me time to think of something else.
    $endgroup$
    – bill s
    7 hours ago

















6












$begingroup$


I would like to know where this "FullForm" in Mathematica will be useful. Kindly provide some examples. I just started learning Mathematica. If my question is wrong or not correct. I'm sorry about that.










share|improve this question







New contributor



Gummala Navneeth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$









  • 3




    $begingroup$
    Whenever a student asks me a question about Mathematica where I don't know the answer, I apply FullForm. Either this helps show what happened, or else it gives me time to think of something else.
    $endgroup$
    – bill s
    7 hours ago













6












6








6


2



$begingroup$


I would like to know where this "FullForm" in Mathematica will be useful. Kindly provide some examples. I just started learning Mathematica. If my question is wrong or not correct. I'm sorry about that.










share|improve this question







New contributor



Gummala Navneeth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$




I would like to know where this "FullForm" in Mathematica will be useful. Kindly provide some examples. I just started learning Mathematica. If my question is wrong or not correct. I'm sorry about that.







functions






share|improve this question







New contributor



Gummala Navneeth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question







New contributor



Gummala Navneeth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question






New contributor



Gummala Navneeth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 9 hours ago









Gummala NavneethGummala Navneeth

311 bronze badge




311 bronze badge




New contributor



Gummala Navneeth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Gummala Navneeth is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • 3




    $begingroup$
    Whenever a student asks me a question about Mathematica where I don't know the answer, I apply FullForm. Either this helps show what happened, or else it gives me time to think of something else.
    $endgroup$
    – bill s
    7 hours ago












  • 3




    $begingroup$
    Whenever a student asks me a question about Mathematica where I don't know the answer, I apply FullForm. Either this helps show what happened, or else it gives me time to think of something else.
    $endgroup$
    – bill s
    7 hours ago







3




3




$begingroup$
Whenever a student asks me a question about Mathematica where I don't know the answer, I apply FullForm. Either this helps show what happened, or else it gives me time to think of something else.
$endgroup$
– bill s
7 hours ago




$begingroup$
Whenever a student asks me a question about Mathematica where I don't know the answer, I apply FullForm. Either this helps show what happened, or else it gives me time to think of something else.
$endgroup$
– bill s
7 hours ago










1 Answer
1






active

oldest

votes


















13














$begingroup$

Perhaps there are other uses, but I've primarily used FullForm to "see" what Mathematica "sees". This can be useful when you are trying to do replacements on something like $fracxsqrt5+y^2+1/z$. What Mathematica actually sees is



Plus[Times[Power[5, Rational[-1, 2]], x], Power[y, 2], Power[z, -1]]


You might want to do a replacement such as:



Plus[Times[Power[5, Rational[-1, 2]], x], Power[y, 2], Power[z, -1]]/.Rational[-1, 2] -> 6
(* 15625x + y^2 + 1/z *)


Replacements generally match to the FullForm and in some cases replacements will fail because Mathematica interprets it differently than you do. For example:



x/Sqrt[5] + y^2 + 1/z /. Sqrt[5] -> 6


This fails to give the expected result, because there is no Sqrt in the function by the time you go to run it.



Another place I've used FullForm is for inspecting the code for graphics and plots when they are misbehaving. There's a lot of stuff that happens behind the scenes when generating a plot, and so sometimes it's beneficial to see what the actual result of all that code is. For example, I can see what tick marks were chosen, and I can even replace them with my own tick marks after the fact if I desire. However, I would usually use InputForm for this as I find it slightly more readable.






share|improve this answer









$endgroup$










  • 1




    $begingroup$
    For inspecting graphics my shortInputForm function is much more handy than InputForm.
    $endgroup$
    – Alexey Popkov
    9 hours ago










  • $begingroup$
    And InputForm can be achieved by Ctrl+Shift+I. (There exist cases that InputForm is missleading of course e.g. Sqrt[2] // InputForm.)
    $endgroup$
    – xzczd
    8 hours ago










  • $begingroup$
    FullForm is tremendously useful for understanding precedence in pattern matching as well. That's where I most rely on it.
    $endgroup$
    – user6014
    8 hours ago













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "387"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);







Gummala Navneeth is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f205011%2fwhat-is-the-use-of-fullform-in-mathematica%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









13














$begingroup$

Perhaps there are other uses, but I've primarily used FullForm to "see" what Mathematica "sees". This can be useful when you are trying to do replacements on something like $fracxsqrt5+y^2+1/z$. What Mathematica actually sees is



Plus[Times[Power[5, Rational[-1, 2]], x], Power[y, 2], Power[z, -1]]


You might want to do a replacement such as:



Plus[Times[Power[5, Rational[-1, 2]], x], Power[y, 2], Power[z, -1]]/.Rational[-1, 2] -> 6
(* 15625x + y^2 + 1/z *)


Replacements generally match to the FullForm and in some cases replacements will fail because Mathematica interprets it differently than you do. For example:



x/Sqrt[5] + y^2 + 1/z /. Sqrt[5] -> 6


This fails to give the expected result, because there is no Sqrt in the function by the time you go to run it.



Another place I've used FullForm is for inspecting the code for graphics and plots when they are misbehaving. There's a lot of stuff that happens behind the scenes when generating a plot, and so sometimes it's beneficial to see what the actual result of all that code is. For example, I can see what tick marks were chosen, and I can even replace them with my own tick marks after the fact if I desire. However, I would usually use InputForm for this as I find it slightly more readable.






share|improve this answer









$endgroup$










  • 1




    $begingroup$
    For inspecting graphics my shortInputForm function is much more handy than InputForm.
    $endgroup$
    – Alexey Popkov
    9 hours ago










  • $begingroup$
    And InputForm can be achieved by Ctrl+Shift+I. (There exist cases that InputForm is missleading of course e.g. Sqrt[2] // InputForm.)
    $endgroup$
    – xzczd
    8 hours ago










  • $begingroup$
    FullForm is tremendously useful for understanding precedence in pattern matching as well. That's where I most rely on it.
    $endgroup$
    – user6014
    8 hours ago















13














$begingroup$

Perhaps there are other uses, but I've primarily used FullForm to "see" what Mathematica "sees". This can be useful when you are trying to do replacements on something like $fracxsqrt5+y^2+1/z$. What Mathematica actually sees is



Plus[Times[Power[5, Rational[-1, 2]], x], Power[y, 2], Power[z, -1]]


You might want to do a replacement such as:



Plus[Times[Power[5, Rational[-1, 2]], x], Power[y, 2], Power[z, -1]]/.Rational[-1, 2] -> 6
(* 15625x + y^2 + 1/z *)


Replacements generally match to the FullForm and in some cases replacements will fail because Mathematica interprets it differently than you do. For example:



x/Sqrt[5] + y^2 + 1/z /. Sqrt[5] -> 6


This fails to give the expected result, because there is no Sqrt in the function by the time you go to run it.



Another place I've used FullForm is for inspecting the code for graphics and plots when they are misbehaving. There's a lot of stuff that happens behind the scenes when generating a plot, and so sometimes it's beneficial to see what the actual result of all that code is. For example, I can see what tick marks were chosen, and I can even replace them with my own tick marks after the fact if I desire. However, I would usually use InputForm for this as I find it slightly more readable.






share|improve this answer









$endgroup$










  • 1




    $begingroup$
    For inspecting graphics my shortInputForm function is much more handy than InputForm.
    $endgroup$
    – Alexey Popkov
    9 hours ago










  • $begingroup$
    And InputForm can be achieved by Ctrl+Shift+I. (There exist cases that InputForm is missleading of course e.g. Sqrt[2] // InputForm.)
    $endgroup$
    – xzczd
    8 hours ago










  • $begingroup$
    FullForm is tremendously useful for understanding precedence in pattern matching as well. That's where I most rely on it.
    $endgroup$
    – user6014
    8 hours ago













13














13










13







$begingroup$

Perhaps there are other uses, but I've primarily used FullForm to "see" what Mathematica "sees". This can be useful when you are trying to do replacements on something like $fracxsqrt5+y^2+1/z$. What Mathematica actually sees is



Plus[Times[Power[5, Rational[-1, 2]], x], Power[y, 2], Power[z, -1]]


You might want to do a replacement such as:



Plus[Times[Power[5, Rational[-1, 2]], x], Power[y, 2], Power[z, -1]]/.Rational[-1, 2] -> 6
(* 15625x + y^2 + 1/z *)


Replacements generally match to the FullForm and in some cases replacements will fail because Mathematica interprets it differently than you do. For example:



x/Sqrt[5] + y^2 + 1/z /. Sqrt[5] -> 6


This fails to give the expected result, because there is no Sqrt in the function by the time you go to run it.



Another place I've used FullForm is for inspecting the code for graphics and plots when they are misbehaving. There's a lot of stuff that happens behind the scenes when generating a plot, and so sometimes it's beneficial to see what the actual result of all that code is. For example, I can see what tick marks were chosen, and I can even replace them with my own tick marks after the fact if I desire. However, I would usually use InputForm for this as I find it slightly more readable.






share|improve this answer









$endgroup$



Perhaps there are other uses, but I've primarily used FullForm to "see" what Mathematica "sees". This can be useful when you are trying to do replacements on something like $fracxsqrt5+y^2+1/z$. What Mathematica actually sees is



Plus[Times[Power[5, Rational[-1, 2]], x], Power[y, 2], Power[z, -1]]


You might want to do a replacement such as:



Plus[Times[Power[5, Rational[-1, 2]], x], Power[y, 2], Power[z, -1]]/.Rational[-1, 2] -> 6
(* 15625x + y^2 + 1/z *)


Replacements generally match to the FullForm and in some cases replacements will fail because Mathematica interprets it differently than you do. For example:



x/Sqrt[5] + y^2 + 1/z /. Sqrt[5] -> 6


This fails to give the expected result, because there is no Sqrt in the function by the time you go to run it.



Another place I've used FullForm is for inspecting the code for graphics and plots when they are misbehaving. There's a lot of stuff that happens behind the scenes when generating a plot, and so sometimes it's beneficial to see what the actual result of all that code is. For example, I can see what tick marks were chosen, and I can even replace them with my own tick marks after the fact if I desire. However, I would usually use InputForm for this as I find it slightly more readable.







share|improve this answer












share|improve this answer



share|improve this answer










answered 9 hours ago









MassDefectMassDefect

3,8584 silver badges17 bronze badges




3,8584 silver badges17 bronze badges










  • 1




    $begingroup$
    For inspecting graphics my shortInputForm function is much more handy than InputForm.
    $endgroup$
    – Alexey Popkov
    9 hours ago










  • $begingroup$
    And InputForm can be achieved by Ctrl+Shift+I. (There exist cases that InputForm is missleading of course e.g. Sqrt[2] // InputForm.)
    $endgroup$
    – xzczd
    8 hours ago










  • $begingroup$
    FullForm is tremendously useful for understanding precedence in pattern matching as well. That's where I most rely on it.
    $endgroup$
    – user6014
    8 hours ago












  • 1




    $begingroup$
    For inspecting graphics my shortInputForm function is much more handy than InputForm.
    $endgroup$
    – Alexey Popkov
    9 hours ago










  • $begingroup$
    And InputForm can be achieved by Ctrl+Shift+I. (There exist cases that InputForm is missleading of course e.g. Sqrt[2] // InputForm.)
    $endgroup$
    – xzczd
    8 hours ago










  • $begingroup$
    FullForm is tremendously useful for understanding precedence in pattern matching as well. That's where I most rely on it.
    $endgroup$
    – user6014
    8 hours ago







1




1




$begingroup$
For inspecting graphics my shortInputForm function is much more handy than InputForm.
$endgroup$
– Alexey Popkov
9 hours ago




$begingroup$
For inspecting graphics my shortInputForm function is much more handy than InputForm.
$endgroup$
– Alexey Popkov
9 hours ago












$begingroup$
And InputForm can be achieved by Ctrl+Shift+I. (There exist cases that InputForm is missleading of course e.g. Sqrt[2] // InputForm.)
$endgroup$
– xzczd
8 hours ago




$begingroup$
And InputForm can be achieved by Ctrl+Shift+I. (There exist cases that InputForm is missleading of course e.g. Sqrt[2] // InputForm.)
$endgroup$
– xzczd
8 hours ago












$begingroup$
FullForm is tremendously useful for understanding precedence in pattern matching as well. That's where I most rely on it.
$endgroup$
– user6014
8 hours ago




$begingroup$
FullForm is tremendously useful for understanding precedence in pattern matching as well. That's where I most rely on it.
$endgroup$
– user6014
8 hours ago











Gummala Navneeth is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded

















Gummala Navneeth is a new contributor. Be nice, and check out our Code of Conduct.












Gummala Navneeth is a new contributor. Be nice, and check out our Code of Conduct.











Gummala Navneeth is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Mathematica Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f205011%2fwhat-is-the-use-of-fullform-in-mathematica%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

ParseJSON using SSJSUsing AMPscript with SSJS ActivitiesHow to resubscribe a user in Marketing cloud using SSJS?Pulling Subscriber Status from Lists using SSJSRetrieving Emails using SSJSProblem in updating DE using SSJSUsing SSJS to send single email in Marketing CloudError adding EmailSendDefinition using SSJS

Кампала Садржај Географија Географија Историја Становништво Привреда Партнерски градови Референце Спољашње везе Мени за навигацију0°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.340°11′ СГШ; 32°20′ ИГД / 0.18° СГШ; 32.34° ИГД / 0.18; 32.34МедијиПодациЗванични веб-сајту

19. јануар Садржај Догађаји Рођења Смрти Празници и дани сећања Види још Референце Мени за навигацијуу